import Vue from 'vue'
import common from './common'
Vue.prototype.fristPageSize = 20
Vue.prototype.detailSize = 'mini'
Vue.prototype.parseTime = common.parseTime
Vue.prototype.resetForm = common.resetForm
Vue.prototype.selectDictLabel = common.selectDictLabel
Vue.prototype.downloadUser = common.downloadUser
Vue.prototype.changeDateRange = common.changeDateRange
Vue.prototype.deleteChildren = common.deleteChildren
Vue.prototype.downloadFile = common.downloadFile
Vue.prototype.downloadFileFlow = common.downloadFileFlow
Vue.prototype.downloadFileFlowPdf = common.downloadFileFlowPdf
Vue.prototype.tableRowClassName = common.tableRowClassName
Vue.prototype.GetDateDiff = common.GetDateDiff
Vue.prototype.divideMoney = common.divideMoney

/* 列表高度*/
Vue.prototype.highLevelSetTagsView = 'calc(100vh - 349px)' // 筛选条件展开 && 有tagsView的table高度
Vue.prototype.highLevelSetNotTagsView = 'calc(100vh - 304px)' // 筛选条件关闭 && 有tagsView的table高度

/* 监管列表高度*/
Vue.prototype.highLevelSetTagsViewSupervise = 'calc(100vh - 304px)' // 筛选条件展开&& 有tagsView的table高度
Vue.prototype.highLevelSetNotTagsViewSupervise = 'calc(100vh - 259px)' // 筛选条件关闭 && 有tagsView的table高度

// Object.keys(common).forEach((key) => {
//   Vue.prototype[common[key].name] = common[key]
// })

